#!/usr/bin/env python
#Traditional Message Gereration

from email.mime.text import MIMEText

message = """Hello this is a message from chaptter9, I hope you enjoy it!
-- anonymous
"""

msg = MIMEText(message)

msg['To'] = 'evenvi@126.com'
msg['From'] = 'Evenvi <evenvi@163.com>'
msg['Subject'] = 'Test Message, Chapter 9'

print msg.as_string()


